package com.qf.service;

import com.qf.domain.User;

import java.util.List;

/**
 * @author Administrator
 * @version v1.0
 * @date 2022/4/18
 */
public interface UserService {
    boolean checkUsername(String username);

    boolean register(String username, String password, String email, String gender);

    User login(String username, String password);

    List<User> selectUsers();

    List<User> deleteUser(int id);


    List<User> findUsersAny(String toString, List<Object> params);
}
